import { commonProps } from "../../libs/config";


export const dropdownMenuItemProps = {
	...commonProps,
	// 绑定值
	modelValue: {
		type: [String,Number]
	},
	// 菜单标题
	title: {
		type: String
	},
	// 选项列表
	options: {
		type: Array
	},
	// 是否禁用
	disabled: {
		type: Boolean,
		default:null
	},
};

export const  dropdownMenuItemEmits = {
	"update:modelValue":(e:string|number) => true,
	change:(e:{
		value:string|number,
		data:unknown
	}) => true,
	open:() => true,
	close:() => true,
}

